package com.rongxun.main.ui.common;

import com.rongxun.common.base.mvvm.BaseMvvmActivity;
import com.rongxun.main.BR;
import com.rongxun.main.R;
import com.rongxun.main.databinding.ActivityAdvertisementBinding;
import com.rongxun.main.factory.AdvertisementModelFactory;
import com.rongxun.main.viewmodel.AdvertisementViewModel;

import androidx.lifecycle.ViewModelProvider;


/**
 * 创建者     forza
 * 创建时间   2019/11/29 18:09
 * 描述
 */
public class AdvertisementActivity extends BaseMvvmActivity<ActivityAdvertisementBinding, AdvertisementViewModel> {

    @Override
    protected int onBindLayout() {
        return R.layout.activity_advertisement;
    }

    @Override
    protected Class<AdvertisementViewModel> onBindViewModel() {
        return AdvertisementViewModel.class;
    }


    @Override
    protected ViewModelProvider.Factory onBindViewModelFactory() {

        return AdvertisementModelFactory.getInstance(getApplication());
    }


    @Override
    protected int onBindVariableId() {
        return BR.viewModel;
    }

    @Override
    protected void initViewObservable() {


    }


    @Override
    public void init() {

    }

    @Override
    public void showInitLoadView(boolean show) {

    }

    @Override
    public void showNoDataView(boolean show) {

    }

    @Override
    public void showTransLoadingView(boolean show) {

    }

    @Override
    public void showNetWorkErrView(boolean show) {

    }

    @Override
    public void finishActivity() {

    }
}
